<?php
/**数据库连接mod**/
$db_servername = "127.0.0.1";
$db_username = "zzhk";
$db_password = "xnris82ihsXBm6tt";
$db_dbname = "zzhk";

// 创建连接
$conn = mysqli_connect($db_servername, $db_username, $db_password, $db_dbname);

// 检测连接
if (!$conn) {
    echo "<HR width=760 size=1><p align=center>数据库连接错误！请稍后再试。<br>";
    die;
}